Skip to content

Add chart_lab map, zone-related task & launch for GoToZone feature#350

Open
chart-singapore wants to merge 4 commits into
open-rmf:mainfrom
chart-sg:feat/post_arrival_goal
Open

Add chart_lab map, zone-related task & launch for GoToZone feature#350
chart-singapore wants to merge 4 commits into
open-rmf:mainfrom
chart-sg:feat/post_arrival_goal

Conversation

@chart-singapore
Copy link
Copy Markdown

@chart-singapore chart-singapore commented Apr 18, 2026

New feature implementation

Implemented feature

This is part of an 8-repo Simple GoToZone feature. Tracked in Stage A of open-rmf/rmf#726.

Adds a new chart_lab demo: a CHART Lab map with 1 tinyBot + 1 deliveryBot and a consultation zone. The zone has priority-ordered internal waypoints with group labels. Also adds dispatch_zone, a small CLI for dispatching zone tasks with modifiers, and launch the zone supervisor node at common.launch.xml.

To Test GoToZone Feature

  1. send a GoToZone task wtih zone name = consultation, and with different modifiers combination
    a. default with only zone name
    ros2 run rmf_demos_tasks dispatch_zone -z consultation --use_sim_time
    b. with preferred group
    ros2 run rmf_demos_tasks dispatch_zone -z consultation -g C --use_sim_time
    c. with preferred waypoint
    ros2 run rmf_demos_tasks dispatch_zone -z consultation -w wait_3 --use_sim_time
    d. with orientation
    ros2 run rmf_demos_tasks dispatch_zone -z consultation -o 1.57 --use_sim_time
  2. release the robot from the zone by dispatching a GoToPlace to a waypoint outside the zone., eg:
    ros2 run rmf_demos_tasks dispatch_patrol -p d_charger --use_sim_time
  3. meanwhile, can monitor the ZoneStates on whats current bookings
    ros2 topic echo /zone_states
  4. to test manual release of booking:
    ros2 topic pub --once /zone_manual_release rmf_zone_msgs/msg/ZoneManualRelease "{ stamp: {sec: 0, nanosec: 0}, robot_name: 'deliveryBot_1', fleet_name: 'deliveryRobot', zone_name: 'consultation' }"

GenAI Use

We follow OSRA's policy on GenAI tools

  • I used a GenAI tool in this PR.
  • I did not use GenAI

Co-authored-by: Brandon Koh <brandonk10.10@gmail.com>
Co-authored-by: kjchee <keai_jiang_chee@cgh.com.sg>
Co-authored-by: Tey Leong Teck <leong_teck_tey@cgh.com.sg>
Signed-off-by: Brandon Koh <brandonk10.10@gmail.com>
Signed-off-by: kjchee <keai_jiang_chee@cgh.com.sg>
Signed-off-by: Tey Leong Teck <leong_teck_tey@cgh.com.sg>
Signed-off-by: lttey <leong_teck_tey@cgh.com.sg>
Copy link
Copy Markdown
Member

@xiyuoh xiyuoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note for follow reviewers: See open-rmf/rmf_ros2#516 for the full table of relevant PRs/branches this PR depends on

Comment on lines +40 to +42
finishing_request: # Optionally define any robot-specific finishing request. Overrides the fleet-wide setting.
type: "nothing" # [park, charge, nothing]
waypoint_name: "supplies" # This is a required field if the finishing_request type is "park"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this should be removed since there is no supplies waypoint in the chart lab map

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed in 6df34a5

@@ -0,0 +1,221 @@
#!/usr/bin/env python3

# Copyright 2022 Open Source Robotics Foundation, Inc.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Copyright 2022 Open Source Robotics Foundation, Inc.
# Copyright 2026 Open Source Robotics Foundation, Inc.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed in 6aa2f9f

jixiancgh added 2 commits May 4, 2026 14:00
Signed-off-by: Loke Ji Xian <loke_ji_xian@cgh.com.sg>
Signed-off-by: Loke Ji Xian <loke_ji_xian@cgh.com.sg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

6 participants